import Mock from 'mockjs'

Mock.mock('http://localhost:8888/ssm/login', {
    'header': {
        'returnCode': '000000',
        'returnMessage': '处理成功'
    },
    'body': {
        'username': 'sealerL',
        'menus': [
            {
                    id: 1,
                    parentMenuId: 0,
                    name: "systemManage",
                    icon: "el-icon-message\r\n",
                    alias: "系统管理",
                    state: "ENABLE",
                    sort: 0,
                    value: null,
                    type: "NONE",
                    description: "用于系统管理的菜单",
                    createUserId: 1,
                children: [
                    {
                        
                            id: 3,
                            parentMenuId: 1,
                            name: "authManage",
                            icon: "el-icon-loading",
                            alias: "权限管理",
                            state: "ENABLE",
                            sort: 0,
                            value: "/system/auth",
                            type: "LINK",
                            description: "用于权限管理的菜单",
                            createUserId: 1,
                        children: null
                    }
                ]
            }
        ]
    }
});

